package com.cloudoer.blog.mapper.dao;

import com.cloudoer.blog.mapper.ArticleTagMapper;
import com.cloudoer.blog.model.ArticleTag;
import com.cloudoer.blog.model.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleTagDao extends ArticleTagMapper {
    int insert (ArticleTag articleTag);

    int deleteByPrimaryKey (@Param(value = "articleId") String articleId);

    List<Tag> selectTag(@Param(value = "articleId") String articleId);

    List<Tag> selectByIdT (@Param(value = "articleId") String articleId);
}
